package stud.mpgame.flash.game;
import flash.globalization.NumberFormatter;
import stud.mpgame.network.MessageDescription;
import flash.utils.IDataOutput;

/**
 * ...
 * @author 
 */

class LoginMessageDescription extends MessageDescription {

	private static var ID:Int = 1;

    public static var LOGIN_MESSAGE_ID:Int = 1;

    public override function getID():Int {
        return ID;
    }

    private static var instance:LoginMessageDescription = null;
	
	public function new() {
		super();
		this.registerUserObject(LOGIN_MESSAGE_ID, Login);
	}

    public static function getInstance():LoginMessageDescription {
        if(instance == null){
            instance = new LoginMessageDescription();
        }
        return instance;
    }
	
}